<?php
if ($this->items) {
    $i=1;
    foreach ($this->items as $item):
        ?>
        <div class="wrapper ramka" style="margin-top:15px;">
	<figure class="left marg_right1"><img src="/public/upload/photos/<?php echo $item->getImagesMin(); ?>" alt="" width="117px"></figure>
	<p class="pad_bot1"><strong class="color2">Кімнат: <?php echo $item->getRooms(); ?>, Площа: <?php echo $item->getSpace(); ?><br>
	Ціна: <span class="color1">$ <?php echo $item->getPrice(); ?></span></strong></p>
	<p class="pad_bot2">
	<?php echo $this->cutstr->Make($item->getDescription(), 400); ?></p>
	<a href="/housing_<?php echo $item->getId(); ?>.html" class="button">Детальніше</a>
        </div>
<?php 
$i++;
endforeach;
}
?>